Automattic\WooCommerce\Internal\Admin\Suggestions\Incentives\WooPayments S

Total Complexity 41
Dependencies 4
Dependents 0
Total lines 368
Lines of code 174
Logical lines of code 77
Comment lines 138
Methods 11
Properties 4

Methods 11

Method Rating Maintainability Complexity Lines of code
get_incentives()
A
39 12 67
has_orders()
S
50 6 26
has_wcpay()
S
53 6 24
has_enabled_payment_gateways()
S
61 5 12
is_visible()
S
65 5 9
has_wcpay_account_data()
S
68 2 7
generate_context_hash()
S
61 1 13
__construct()
S
70 1 6
clear_cache()
S
77 1 4
reset_memo()
S
81 1 3
is_extension_active()
S
80 1 3